/**
 * @Author: Your name
 * @Date:   2022-12-05 16:06:15
 * @Last Modified by:   Your name
 * @Last Modified time: 2023-02-27 18:59:01
 */


const wxcontroller = require('./src/controller/wxcontroller');
const surveycontroller = require('./src/controller/survey');
const usercontroller = require('./src/controller/userinfo');
const wxMenuRouter = require('./src/controller/wxmenucontroller');
const wxProxy = require("./src/controller/wxproxy");
const myapp01Controller = require("./src/controller/myapp01");
const configured = require('./handlers/configured')

module.exports = function (app, opts) {
  // Setup routes, middleware, and handlers
  app.get('/configured', configured(opts))
  app.use('/wxproxy',wxProxy);
  app.use('/wx', wxcontroller)
  app.use('/survey',surveycontroller)
  app.use('/user',usercontroller)
  app.use("/wxmenu",wxMenuRouter);
  app.use("/myapp01",myapp01Controller);
  
}
